﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp3
{
    class user
    {
        
        public int Usernum { get; set; }
        public string Username { get; set; }
        public int Password { get; set; }
            
        public user(int usernum, string username, int password)
        {
           this.Usernum = usernum;
           this.Username = username;
           this.Password = password;
        }
        public  void print()
        {
            Console.WriteLine("账号是{0}，用户名是{1}，密码是{2}", this.Usernum, this.Username, this.Password);
        }
    }
}
